package com.example.demo.entity;//package com.software.system.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import java.util.Date;
import java.util.List;
import java.io.Serializable;
import javax.persistence.*;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @description msg
 * @author mqp
 * @date 2022-05-10
 */
@Entity
@Builder
@AllArgsConstructor
@Data
@Table(name="msg")
@ApiModel("msg")
public class Msg implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty("id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;

    /**
     * message
     */
    @ApiModelProperty("message")
    @Column(name="message")
    private String message;

    /**
     * name
     */
    @ApiModelProperty("name")
    @Column(name="name")
    private String name;

    public Msg() {
    }

}
